<%-- 
    Document   : ShowEverything
    Created on : 22.05.2012, 20:29:01
    Author     : Elena
--%>

<%@page contentType="text/html" pageEncoding="UTF-8" import="beans.*, tags.*" %>

<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml"%>
<%@taglib prefix="computershop" uri="/computershop"%>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>ComputerShop::ShowEverything</title>
    </head>
    <body>
        <h1>Show all components</h1>
        <jsp:useBean id="componentList" class="beans.ComponentListBean" scope="application">
        Error, the bean should have been created in the servlet!
        </jsp:useBean>
     <c:set var="showeverything_xslt">
      <c:import url="showeverything_xslt.xsl"/>
     </c:set> 

    <x:transform xslt="${showeverything_xslt}">
    <jsp:getProperty name="componentList" property="xml"/>
    </x:transform>
         <a href="shop?action=showadminprop">Back</a>
    </body>
</html>
